/**
 * 
 */
package com.cnhaimei.vod.util;

import android.R.integer;
import android.app.Activity;


/**
 * @author Jin001.Wu@gmail.com <br>
 * @date 2011-7-2
 *
 */
public class Const {
	public static String INTENT_PRE = "com.cnhaimei.intent.action.";
	public static String INTENT_KEY = "com.cnhaimei.intent.key.";
	
	public static String PICS_PACKAGE_URL = "http://www.cnhaimei.com/down/";//"http://192.168.1.15:280/";
	
	public interface Action {
		String LoadingFinsihed 	= INTENT_PRE + "loading_finished";//启动界面
		String ShowStars 		= INTENT_PRE + "show_stars";//歌星
		String ShowAllSongs		= INTENT_PRE + "show_all_songs";//歌曲点歌
		String showAllSingers	= INTENT_PRE + "show_all_singers";//歌星列表
		String ShowSelSongs		= INTENT_PRE + "show_sel_songs";//已选歌曲列表
		String ShowSingedSongs	= INTENT_PRE + "show_singed_songs";//已唱歌曲列表
		String ShowStarsSongs 	= INTENT_PRE + "show_stars_songs";//明星专辑
		String ShowRooms		= INTENT_PRE + "show_rooms";//包厢
		String Home		= INTENT_PRE + "room_matched";//主界面，单机版主界面
		String MusicSet			= INTENT_PRE + "music_set";//歌曲设置
		String RoomStoneSet		= INTENT_PRE + "room_stone_set";//音调设置
		String ShowSearch		= INTENT_PRE + "show_search";//搜索界面
		String ShowVolume		= INTENT_PRE + "show_volume";//音量设置
		String RoomChecked 		= INTENT_PRE + "room_checked";//
		
		String showBarSongs		= INTENT_PRE + "show_bar_songs";//酒吧音乐
		String showFilms		= INTENT_PRE + "show_films";//电影欣赏
		String showFavorites	= INTENT_PRE + "show_favorites";//私人收藏
		String showHotrank		= INTENT_PRE + "show_hot_rank";//热门排行
		
		String SelSongMore		= INTENT_PRE + "sel_song_more";//选歌更多设置
		String MoreSetting		= INTENT_PRE + "more_setting";//更多设置
		String showHelp			= INTENT_PRE + "show_help";//帮助
		String FavoriteMore		= INTENT_PRE + "favorite_more";//收藏更多操作 
		
		String ShowService		= INTENT_PRE + "show_service";//服务
		String ShowLocalRooms	= INTENT_PRE + "show_local_rooms";//单机版包厢
		
		String LightSet			= INTENT_PRE + "light_set";//灯光设置
	}
	
	public interface Recieve {
		String ClickHome = INTENT_PRE + "click_home";
	}
	
	public interface Key {
		String ROOM_LIST = INTENT_KEY + "room_list";
		String ROOM_KEY = INTENT_KEY + "room";
		String SONG_INFO = INTENT_KEY + "song_info";
		String SINGER_INFO = INTENT_KEY + "singer_info";
		String QUERY_STRING = INTENT_KEY + "query_str";
		String QUERY_TABLE = INTENT_KEY + "query_table";
		String TITLE_NAME = INTENT_KEY + "title_name";
		String SONG_INDEX = INTENT_KEY + "song_index";
		String QUERY_TYPE = INTENT_KEY + "query_type";
	}
	
	public interface QueryType {
		int COMMON = 0;//非电影
		int FILM = 1;//电影
	}
	
	public interface Mood {
		/*0：给力；1：喝彩；2：起哄；3：倒彩*/
		// 值需与服务端对应
		/**给力*/
		int GIVE = 0;
		/**喝彩*/
		int WHOOP = 1;
		/**起哄*/
		int KICKUP = 2;
		/**倒彩*/
		int CUTCALL = 3;
	}
	
	public interface TRACK {
		//0表示伴唱，1表示原唱
		int ACCOMPANY = 0;
		int AUTHOR = 1;
	}
	
	/**音效*/
	public interface EFFECT {
		//0：传统；1：流行；2：麻辣劲k；3：影院；4：夜店；5：大厅；6：派对；7：主持
		int STAND = 0;
		int POPULE = 1;
		int K = 2;
		int CINEMA = 3;
		int HALL = 4;
		int BAR = 5;
		int PARTY = 6;
		int HOST = 7;
	}
	
	/**灯光*/
	public interface LIGHT {
		// 0：明亮；1：动感；2：柔光；3：面光
//		int STRONG = 0;
//		int ACTIVE = 1;
//		int SOFT = 2;
//		int FACE = 3;
		//	0：柔和；1：浪漫；2：激情；3：朦胧；4：惊艳；5：明媚；6：动感；7：明亮
		int RouHe = 0;		//柔和
		int LangMan = 1;	//浪漫
		int JiQing = 2;		//激情
		int MengLong = 3;	//朦胧
		int JingYan = 4;	//惊艳
		int MingMei = 5;	//明媚
		int DongGan = 6;	//动感
		int MingLiang = 7;	//明亮
	}
	
	public interface SongType {
		String MTV = "MTV";
		String HIGH = "高清";
		String CONCERT = "演唱会";
	}

	
	public interface ResultCode {
		int RECHOOSE_ROOM 	= Activity.RESULT_FIRST_USER + 1; //重新绑定房台
		int CALL_SERVICE	= Activity.RESULT_FIRST_USER + 2; //呼叫服务
		int SINGED		 	= Activity.RESULT_FIRST_USER + 3; //已唱
		int CHOSE			= Activity.RESULT_FIRST_USER + 4; //已选
		int MUTE		 	= Activity.RESULT_FIRST_USER + 5; //静音
		int HELP			= Activity.RESULT_FIRST_USER + 6; //帮助
		int MOOD		 	= Activity.RESULT_FIRST_USER + 7; //气氛控制
		int LIGHT			= Activity.RESULT_FIRST_USER + 8; //灯光控制
		int REPLAY			= Activity.RESULT_FIRST_USER + 9; //重唱

		int SEL_SONG		= Activity.RESULT_FIRST_USER + 10; //点歌
		int INSERT_SONG		= Activity.RESULT_FIRST_USER + 11; //插播
		int SEL_SINGER		= Activity.RESULT_FIRST_USER + 12; //歌星反查
		int ADD_FAVORITE	= Activity.RESULT_FIRST_USER + 13; //收藏
		int DELETE_SONG		= Activity.RESULT_FIRST_USER + 14; //删除
		int CALL_SERVICE_END= Activity.RESULT_FIRST_USER + 15; //呼叫服务结束
	}

	public interface RequestCode {
		int QR_CODE		 	= 101; //二维码
		int MORE_SETTING	= 102; //更多设置
		int SEL_SONG_MORE	= 103; //点歌更多
		int ROOMS			= 104; //网络版包厢
		int FAVORITE_MORE	= 105; //收藏更多
		int CALL_SERVICE	= 106; //呼叫服务
		int LOCAL_ROOMS		= 107; //单机版包间
	}
	
}
